# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=xfce4-whiskermenu-plugin
pkgver=2.4.6
pkgrel=0
pkgdesc="Alternate application launcher for Xfce"
url="https://goodies.xfce.org/projects/panel-plugins/xfce4-whiskermenu-plugin"
arch="all !mips !mips64"
license="GPL-2.0-or-later"
options="!check" # No test suite
makedepends="cmake libxfce4ui-dev libxfce4util-dev exo-dev garcon-dev xfce4-panel-dev"
subpackages="$pkgname-doc $pkgname-lang"
source="https://archive.xfce.org/src/panel-plugins/xfce4-whiskermenu-plugin/${pkgver%.*}/xfce4-whiskermenu-plugin-$pkgver.tar.bz2"

build() {
	cmake \
		-DCMAKE_INSTALL_PREFIX=/usr \
		-DCMAKE_INSTALL_LIBDIR=lib \
		-DCMAKE_BUILD_TYPE=None \
		.
	make
}

package() {
	make install LIBDIR=lib DESTDIR="$pkgdir"
}

sha512sums="9e947b73735549d81110323bfd7d6f29c91653b12e1aa616b9ca6f0ff99c8a7948ca383422d7b2aa0ac35297488fda6edc699ae4f72883539d6311672818b62c  xfce4-whiskermenu-plugin-2.4.6.tar.bz2"
